NoMethodError: undefined method `id' for nil:NilClass
https://sentry.gitlab.net/gitlab/gitlabcom/issues/617865/
NoMethodError: undefined method `id' for nil:NilClass
gitlab/git/repository.rb:470:in `block in refs_hash'
@refs_hash[ref.dereferenced_target.id] << ref.name
gitlab/git/repository.rb:467:in `each'
(tags + branches).each do |ref|
gitlab/git/repository.rb:467:in `refs_hash'
(tags + branches).each do |ref|
repository.rb:502:in `method_missing'
raw_repository.__send__(msg, *args, &block) # rubocop:disable GitlabSecurity/PublicSend
gitlab/metrics/instrumentation.rb:161:in `block in method_missing'
.measure { super }
...
(152 additional frame(s) were not displayed)
NoMethodError: undefined method `id' for nil:NilClass