fix path parsing for file paths that can not be resolved on the filesystem;