Add debug log to verify segmentation fault due to calling g_variant_unref()