[tor-commits] [tor/master] Have get_parent_directory() handle "/foo" and "/" correctly.