Use g_hashtable_lookup instead of g_hash_table_contains for compatibility