You're right I forgot that ```realpath``` also resolves symlinks. std.path works without file access so it can't do that.