Adding config option "gitweb.prefix" in case your repository is not at the root