Curator - Python related error

According to extra tests, the issue only occurs with last rpm elasticsearch-curator-5.8.1-1.x86_64.

Keep perfectly working with rpms elasticsearch-curator-5.7.0-1.x86_64 and elasticsearch-curator-5.8.0-1.x86_64