templates / branches--on commit checkout: improve die_if_checked_out() robustness (aaad2c9)
   1: this is just to ensure the directory exists.