reflog-walk: don't segfault on non-commit sha1's in the reflog