Fix update hook: do not hurt classes which were not registered into EveMongoengine.