R40000 Data Migration does not always properly detect MySQL MyISAM database

(cherry-picked from commit 33d6c0b6b6e774b8a4c320731a816e5c807e0ad2)