See the TODO in `BrowseCommand.trimPathToDirectory()`
See the TODO in
BrowseCommand.trimPathToDirectory()