Bug fixes - 2createpackages fails to find packages and detect XZ compression.