elasticsearch.py: correct misspelled variable name.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>