templates / branches--on commit rebase: Handle cases where format-patch fails (e481af0)
   1: this is just to ensure the directory exists.