More robust tarball compression type detection in the linux installer