JBIDE-13868 bug to read / write of archives

Pretty big bug at reading created .packages files.