Make sure scope isn't null. Fixes code analysis warning from #331.

The new `DerivedTypeArgumentTests.CreateConstraint` from d5641eb55b223a8c62ab6a79c2c6d5b2651330df didn't make sure `scope` wasn't null.