Avoid exception when checking for availability of table (better performance with disabled modules), add unit test for the unavailable-case.
Further improve performance with disabled modules by excluding non-table names.