Fixed .tar.xz (e.g. curl) packages not working.