Changed to support formats other than .xz packages