Fixing CLI.executeCommand try catch