Firstly, you assume that Indians are sloppy programmers. And then you conclude?
>>I'd probably be tempted to lie about my nationality when applying for a remote job.
I am an Indian and I'm proud of my nationality. I would never lie, rather I'm proud to be associated with a nation and culture whose history dates back to the cradle of human civilization.