fn resolve_existing_prefix(path: &Path) -> PathBufExpand description
path with its longest existing prefix resolved through symlinks and the
rest kept as spelled: canonicalize fails wholesale once the last
component is gone, and the two sides of a comparison then use different
spellings of the same directory.