Fix PathPackage CLI usage

Fix PathPackage CLI use by injecting RequestStack instead of Request
If there is no request in stack, we set "/" as default basePath

[FrameworkBundle] Inject RequestStack instead of Request

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ---
| License       | MIT
| Doc PR        | ---