pack: Handle loose packages.