Minor fix (check for curl failure before looking at the pull request status).
Minor fix (check for curl failure before looking at the pull request status).

gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine