Do not allow the configuration of circular dependencies

If you configure with a circular loop the buildfarm will just build continuously and never finish.  

This check should be done here.  The implementation should be done in rosdistro: ros-infrastructure/rosdistro/#5