Port to appstream-util