RepositoryUpdateRemoteMirrorWorker::UpdateError: undefined local variable or method `full_path' for #<Gitlab::Git::Repository:0x00007f6e09c124f0>

I'm not sure if this is a regression, but the error looks new, and undefined method should never happen.

https://sentry.gitlap.com/gitlab/gitlabcom/issues/30546/

RepositoryUpdateRemoteMirrorWorker::UpdateError: undefined local variable or method `full_path' for #<Gitlab::Git::Repository:0x00007f6e09c124f0>
  app/workers/repository_update_remote_mirror_worker.rb:27:in `perform'
    raise UpdateError, result[:message] if result[:status] == :error
  lib/gitlab/sidekiq_status/server_middleware.rb:5:in `call'
    ret = yield
  lib/gitlab/sidekiq_middleware/request_store_middleware.rb:6:in `call'
    yield
  lib/gitlab/sidekiq_middleware/memory_killer.rb:16:in `call'
    yield
  lib/gitlab/sidekiq_middleware/arguments_logger.rb:6:in `call'
    yield
...
(36 additional frame(s) were not displayed)

undefined local variable or method `full_path' for #<Gitlab::Git::Repository:0x00007f6e09c124f0>
Assignee Loading
Time tracking Loading