Improve the error message when the user sets the wrong calculation_mode

See https://bugs.launchpad.net/oq-engine/+bug/1385088. The tests are green: https://ci.openquake.org/job/zdevel_oq-risklib/98
This assertion is duplicated. I suppose it should be removed.