build archive-contents manually, remove buggy function from package-x.el