When signing fails, go back to the sign/exit prompt instead of exiting the script.
Nowadays I use a signing token for my GPG key, which can sometimes fail (especially when it's accidentally not plugged in :') ). This avoids having to re-do the merge in that case.