Upgrading Elasticsearch (bug 1013874)

Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1013874
Move that out of the `try` block.