pub fn normalize_tree_prefix(path: Option<&str>) -> String
Normalize a tree prefix: no leading /, and either empty or ending in /.
/