Check for symlink before adding it.