templates / branches--on commit logmsg_reencode: never return NULL (dd0d388)
   1: this is just to ensure the directory exists.