avoid listing non-existing path in PATH.