[libvirt PATCH v2 5/6] ci: helper: Rewrite image listing to Python