Risk "hazard getter" test fixes

Fixes for this build failure:
http://ci.openquake.org/job/oq-engine/140/