Fix non-empty $CDPATH causing failed tests.
If CDPATH contains '.', every cd command prints the target path,
which causes additional output in tests and makes them fail.
% failcould not talk to new inotify server: No such file or directoryabort: could not start server: File exists% inserve% status? hg.pid