tableconvert: Fix incorrect return in a sanity check

Don't return without a value in a function returning non-void.