templates / branches--on commit update-ref --stdin: harmonize error messages (f11b09f)
   1: this is just to ensure the directory exists.