404 error when visiting project's repository tab without a main repository
I have a newly created project with some repositories, but none of them is marked as "main". If I now go to the repository tab, redmine shows a nice error page, saying it could not find an entry or revision in the repo (number 404). More importantly, the non-main repositories do not appear on the side-bar, where they usually are.
If I create an empty main repository using git the error persists, since git has no initial commit in it.
Only after I do some initial commit on the main repo, I can see the list of sub-repos in that project.