templates / branches--on commit rebase: give a better error message for bogus branch (4ac5356)
   1: this is just to ensure the directory exists.