Pep8 fixes

Fixes some pep8 issues araised after the openquake package renaming (see https://github.com/gem/oq-hazardlib/commit/8ca994c53ce24d2f964587aef2f42fcd86e99f84 )