templates / branches--on commit checkout: error out when index is unmerged even with -m (04c9e11)
   1: this is just to ensure the directory exists.