fixes a race when run in the activator ui

When running in the Activator UI, `Console.readLine` points to `/dev/null` so the `println` would continuously execute matching on `null`.  This just exits on unmatched `readLine`.