Simplification because now the maximum_distance is mandatory

See the companion PR https://github.com/gem/oq-commonlib/pull/39, the ticket https://bugs.launchpad.net/oq-engine/+bug/1370400 and the tests https://ci.openquake.org/job/zdevel_oq-engine/655.