Bug: Ref::FindDefaultBranchName returns `""` instead of `nil` for an empty repo
Reported by @yhl3692319 on the conversation
Hi @andrewn, when I created a new project, the project show got 500 error. The problem was that when to find default branch name via gitaly, golang return
""
notnil
, so it went error here: