fix: no longer crash for single projects with global dependencies (#5002)
### Description
Fixes #4914, this is the pnpm implementation of #4240
Was caused as `pnpm` when calculating ignores touches the file system
and will error if `pnpm-workspace.yaml` isn't present. This also avoids
failing on the rare case of someone using turbo on a single project with
no external dependencies as pnpm won't create a lockfile in this case.
### Testing Instructions
Added integration test for a single project using pnpm with global
dependencies
---------
Co-authored-by: Chris Olszewski <Chris Olszewski>