Changes the cwd to the real working directory.