I suppose the racism of the day depended on how that region had been affected by foreigners. For instance, it's thought that modern day Russian xenophobia is due, in part, to the Mongol invasion, where Russia was completely ransacked by the horde. As I said, it would totally depend on experience with foreigners, since the tribes of distant cultures were (generally) kind enough to strangers to at least offer food or shelter if they needed it.