I think it used to describe a person from Pakistan in a non derrogatory fashion then it is not a racist word, however it would be an ill-advised choice of word due to what comes into mind when you hear the word paki. It is only racist/offensive...