Try using pwd with the correct env var assignment format.