Hmmm. This is ugly and this is totally my fault.

While you're at it. could you promote the `isBare` variable in the ctor as a private readonly member of the type and use it to determine if the repo is bare (here and in the `Index` property)? It would be slightly more explicit.