Fixed the `elasticsearch:update` Rake task
[CI] Fixed incorrect environment variable (TEST_BUILD_REF) for Travis