reflog: Error handling on empty reflog