Even yet, surely he would have expected to be at China before being at India.
He got off the boat, looked around and only saw dark-skinned people. Hence he assumed he missed China and hit India.