That passage doesn't tell that Jesus was a racist.
However, Christians who have developed less and less understanding of the Islamic culture and are rather intimidated/hostile against them.
It doesn't mean that Jesus was the same.
You are reading from the New Testament, it might be ...