templates / branches--on commit refs: change how packed refs are deleted (506a760)
   1: this is just to ensure the directory exists.