shouldn't this call moduleDependencyRepository() rather than creating a new instance directly?