[tor-commits] [tor/master] Refactor retrieving the current working directory