Fix PathPackage CLI use by injecting RequestStack instead of Request

If there is no request in stack, we set / as default basePath