rebase: Handle cases where format-patch fails