Fix NPE when there are two repositories which only differ in case

We had two repositories which differed only in case. This caused an NPE during start. Using the guarded method restores the old behavior (like in Gitblit 1.3.2) where only one of the two repos is shown in the overview.

At least better than failing to start ;)