Fix importing cdist module

Resolve #845.
3 jobs for bugfix/in-script-import in 1 minute and 4 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Test
passed #6673
pycodestyle

00:00:18

passed #6672
shellcheck

00:00:22

passed #6674
unit_tests

00:00:23