Fix file check condition in `cfgctl`