fix a case of .tar.gz package actually being .tar