Ensure that we don't create a forwarding cycle.

Testing Done:
ci.sh passed.

Reviewed at https://rbcommons.com/s/twitter/r/1124/
Filter out None scopes, to avoid trouble later.

I'm not sure why we have tasks with no set scope, but we've seen
this with custom tasks at Foursqare. Will figure that out later.

Testing Done:
Running ci.

Reviewed at https://rbcommons.com/s/twitter/r/1125/