Remove trailing slashes from symlink targets