templates / branches--on commit builtin-reflog.c: fix typo that accesses an unset variable (cb97cc9)
   1: this is just to ensure the directory exists.