Who's to say that it's distasteful? Humor is very subjective.
I'd also argue that most people that complain about those jokes unironically think that author is actually racist, like it doesn't even cross their mind that it could be a joke, even a "bad" one.
Ironically, the fact that some people react in this way makes these jokes even funnier