The Pakistani military intelligence service probably had advance knowledge of his coming, and its officers may have facilitated his travel.
The Pakistani military tried to find the officers that helped him with his travel.