Removed popd from cleanUpEnv causing builds to fail.