Add the PACKAGE from the given ARCHIVE if necessary. Also, add the originating archive to the end of the package vector.