The PR #1175 was incomplete. This fixes the cascading effect of patching to 2.1.1 Changes: - add CheckRepoGraph (ported directly from the release/2.0 branch) - Update submodules