[libvirt PATCH v4 4/6] ci: helper: Rewrite image listing to Python