fix cli setup, config check had wrong logic