The funny thing about the situation you describe is that there are real world examples of similar circular dependencies.
I recall GitHub having an issue like that where their build pipeline used Bower which is hosted on GitHub. When shit hit the fan and a build broke the site, they could build the "fix" as Bower didn't work.
Joking, of course.