[libvirt PATCH v2 07/35] ci: build.sh: Add a helper function to create the dist tarball