Fixed broken symlinking to '.'

`path.relative` will return an empty string if the two arguments are the same directory, so this fixes that.