Curator excution error on Elasticstack 6.2.4

This is surely the wrong version of curator without adding the Debian 9 repository for Curator.

In fact, I see in the logs:

load_entry_point('elasticsearch-curator==4.2.5'

You will see this if you run curator --version

The current release of Curator is 5.5.1.