Fixes MetastoreClient.table_exists for partitions