fix pgListTables where table doesn't exist