[Validator] Fix for paths which are symlink

This fixes pod lib lint due to Pathname.relative_path_from assuming no
symlinks in path while /tmp is actually a symlink  to /private/tmp