Fixed #21142: Dependency failures on unmigrated apps.