fix elasticsearch setup check that was broken by jnovack