Fix EZP-21684: Bug when creating forward url alias

https://jira.ez.no/browse/EZP-21684

This bug was due to API changes from Symfony in HttpKernel with fragment framework addition.