Breaking circular builds

A small change that breaks circular builds. I'm checking that a downstream project is not one of the upstream causes before scheduling a build.