Oh that's true, a path `../../foo` would still yield `"up"` components. You would get `.` if that's all the path contains (there's no such thing as an empty path; they turn into `.`). I'll go ahead and just modify this to ignore `.`.