Improved symlink detection and reporting