Correct config error handling in CLI