Fix PathResolver when directories are not normalized (for example containing ../)