Nigerian scammers don't have much to do with Nigerians themselves, so the joke isn't making fun of Nigerians, but rather the perception of Nigerian entrepreneurship until now.
That's absurd. 419/Yahoo-Yahoo and corruption are a big problem there. That makes Nigeria poorer, not jokes.