Fix output of pwd command