show-branch: avoid segfault with --reflog of unborn branch