templates / branches--on commit checkout: die_if_checked_out: simplify strbuf management (4e07815)
   1: this is just to ensure the directory exists.