Added a better exception message when accidentally creating a circular dependency in the configuration graph.