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.
abort: error: Connection refused255copy: No such file or directoryabort: HTTP Error 4040