Being the only North African country without any sizeable oil and gas reserves, Morocco has long been an energy importer.