Adds g_variant_unref when param variable is not used