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