builtin-reflog.c: fix typo that accesses an unset variable