maybe cache then? 

```ruby
@http_url ||= [Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('')
```