...They weren't sub-saharan Africans, either.
...and who specifically stated they would all be sub-Saharan? But we digress, that would still be a lot closer to an accurate portrayal of an actual Egyptian of that era than Gerard fucking Butler, and a lot more reasonable an approximation that equating Persian, Arab, and Indian in one broad stroke.
Edit- And again, in this context I am harping about those roles in which the character's specified ethnicity (again, such as Japanese, Arab, Indian, Persian) could be played by an actor with that actual heritage (both ethnic and linguistic) in a field in which they are poorly or not represented at all.
Edit 2 - I'm not getting testy about drilling a character down to, say, North Africa, South Africa, or north or south Vietnam, or Aleppo arabs vs Egyptian arabs, etc. a certain degree of generalization is reasonable in that context. I agree with that.
In most cases regional variations within groups are irrelevant so long as the group as a whole is being represented with reasonable accuracy.