He's not being racist, he's basing a decision on previous experience. He didn't just decide "I won't hire anyone from India" - he tried it (it sounds like he tried it more than once) and didn't have a good experience so he's decided not to repeat that mistake. He doesn't think all Indians are bad programmers just that it's easier to find a good one in Eastern Europe that meets his requirements.