fixed nav bar for empty repos (fixes #4375)
Merge pull request #4442 from 1ed/projects-helper-fix

fixed nav bar for empty repos (fixes #4375)