Fix adding an archive.