Make getElasticsearchVersion() not static

Change-Id: I3940529d0560e4c8e8390c1e0bc3be989c01b7a9