Remove IntegrityError when purging package.