templates / branches--on commit add -p: fix checkout -p with pathological context (2bd69b9)
   1: this is just to ensure the directory exists.