Catch a couple exceptions that get thrown by drush_sql_get_class(). There may be more.