HomepageModuleRegistry gets an entire MediaWikiServices object injected into it, which goes against the documentation and can lead to stale reference. Per Injection.md documentation: "Do not however inject the MediaWikiServices object!"
The new MentorDashboardModuleRegistry in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GrowthExperiments/+/685111/ (T278971) is doing this too, pointing to HomepageModuleRegistry as precedent.
Both should probably use ObjectFactory instead.