code-intel is spamming repo-updater when auto-indexing is enabled
Created by: michaellzc
Context
When auto-indexing is enabled, code intel services will try to fetch dependency repo automatically from repo-updater under the assumption repo-updater will lazyload these repos. The lazy-loading behaviour is only enabled in dotcom mode, but this is not applicable on single-tenant instance. As a result, code intel keeps on spaming repo-updater to fetch non-exsiting repo and caused false alarm to failed to sync repo prometheus alert
Impact
This is producing false positive to the prometheus metric that indicates repo syncing status.
Expected behaviour
code intel shouldn't make the assumption that repo-updater will always lazy load repo and add a IsDotMode check to the code path