Fixed a regression with oq engine [ENTER] [skip CI]
Fixed a regression with oq engine [ENTER] [skip CI]


Former-commit-id: 53e517efb541a41c2337cce30c7130e0a190b817
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine