Fixed a bug with the quantile_hazard_curves attribute

If quantile_hazard_curves is not set, it should be considered an empty sequence.
The tests are green: https://ci.openquake.org/job/zdevel_oq-engine/719