The geographic condition that was a barrier between Africans and people from outside of the Middle East is the Sahara desert. Furthermore, historically Sub-Saharan Africans weren't noted for their traveling or exploring abilities, so that's another limit to the contact.