fixed CLI detection (changed in K3.3)
Merge branch '3.3/hotfix/is_cli' into 3.3/master