feat(filter): error on invalid filters (#8142)
### Description
This PR changes `--filter` so it now will error on certain malformed
filters:
- Name filters with no globs that don't match any packages e.g.
`--filter=fo` instead of `--filter=foo`
- Directory filters that reference a directory that doesn't exist: e.g.
`--filter='./pakcages/*'`
Each commit of the PR can be reviewed on it's own.
### Testing Instructions
Updated existing unit tests. Added additional ones along with an
integration test.