Fixed master https://ci.openquake.org/job/master_oq-engine/1208

There were two errors, a pickling error for ObjectDoesNotExists and get_correl_model had to be changed.