He'll say "which road goes to your village?". He would take the way the person pointed to. The truthful peson, would point to his village, the truth village. The liar would point to the truth village, the same village because he can't tell the truth. So, if the traveller wants to go the truth village, he knows which road to take. Then, if he wants to take the lie village, he would take that.