Add link to PR in email for stash repos

This is more directly related to the stash api merge, but there was a bug in which sending an email would fail if the branch had already been deleted post-merge.