Since we check this a couple times, we should encapsulate this in a function, like `assert_symlink_or_copy(source, symlink, target)` and use this here and below!