Fix read_kind_from_backend so that it check query_context exist.
Fix read_kind_from_backend so that it check query_context exist.

treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres