No branches visible after upgrade to newest version

Fix works, thank you.

(moved new bug to new topic Display issue for long build tags on builds view page)