`g_strfreev` can be called on `NULL` values just fine, so you can avoid the check here.