improve error handling for commands in singlePackage projects (#3243)
Currently in 'single package mode' the error message for missing turbo
commands is a little misleading:
```bash
turbo-single-test on main [?] is 📦 v1.0.0 via v19.4.0
❯ ../turbo/target/debug/turbo ls
ERROR run failed: task `ls` not found in turbo `pipeline` in "turbo.json". Are you sure you added it?
Turbo error: task `ls` not found in turbo `pipeline` in "turbo
```
This PR makes a small change to the validation to respect the
`singlePackage` option.
```bash
turbo-single-test on main [?] is 📦 v1.0.0 via v19.4.0
❯ ../turbo/target/debug/turbo ls
ERROR run failed: task `ls` not found in `scripts` in "package.json"
Turbo error: task `ls` not found in `scripts` in "package.json"
```
Co-authored-by: Thomas Knickman <tom.knickman@vercel.com>