Fix for previous commit, `realpath()` doesn't work with paths that points to files that doesn't exists.