FIX: Use the correct classname to check for a repair

This re-enables correcting the case of tables, mostly used after an import from MySQL running on Windows.

Fixes #2713