Check symlinks exist before creating

I found that the symlinks existed but the target didn't (going to look into that), so the code failed trying to create symlinks that already existed.