Handle broken symlinks during symlink swapping