Get lowest-common-ancestor for filepaths

Shorter output, less information disclosure.
This always includes at least the parent directory name.