REVIEW-3666: Changed return type of DependencyMetaDataProvider#getModule() to use ModuleInternal to avoid introducing a new method and additional casting.