inject: Fix bogus assertion.

Ran tests with a release build by mistake.