Make path search work over ssh.

Change-Id: I4f5bad2c52b8e36986cc0621564a274d024844fa