I would set a parameter for the whole options array:

```yaml
parameters:
    ezpublish_legacy.siteaccess_mapper.options: { fragment_path: %fragment.path% }
```