METAMODEL-4: Ensured that getParentPath(...) would return properly in
case of root file paths ("/foo" or "c:\\foo").