NoMethodError: undefined method `id' for nil:NilClass
https://sentry.gitlap.com/gitlab/gitlabcom/issues/8864/
NoMethodError: undefined method `id' for nil:NilClass
lib/extracts_path.rb:117:in `tree'
@tree ||= @repo.tree(@commit.id, @path)
lib/gitlab/middleware/rails_queue_duration.rb:20:in `call'
@app.call(env)
lib/gitlab/metrics/rack_middleware.rb:18:in `block in call'
retval = trans.run { @app.call(env) }
lib/gitlab/metrics/transaction.rb:46:in `run'
yield
lib/gitlab/metrics/rack_middleware.rb:18:in `call'
retval = trans.run { @app.call(env) }
...
(93 additional frame(s) were not displayed)