fixup 64c61e3185ba293f54e34a7c7683e66987102693

Get rid of the now-pointless if {} block and replace the conditional
with an assert.

Signed-off-by: Greg Farnum <greg@inktank.com>