Handle symlinks in git-monitor