[tor-commits] [tor/master] Split choosing a regular directory into its own fn