A part without pathTail. The string will be normalized before processing. The result path will be normalized.
String get pathBeforeTail { final l = npath.pathToList; return l.length < 2 ? '' : l.sublist(0, l.length - 1).listToNPath; }