Test absolute paths that have excess leading slashes.
Private ks_enumeratePathComponentsInRange:usingBlock: method should be quite handy.
Look for common path prefixes by component rather than straight string matching.
Use new enumeration routine for figuring out how many steps up the hierarchy to take.