I think the country names come from the Niger river that runs through both of them. And the northern-most one, being a former French colony, is pronounce nee-zher, though I think the river is pronounced ny-jeer. That said the derogatory term may have devolved from them. And thus my history major pays off. :D