This should be removed once https://github.com/fabpot/Silex/pull/803 gets merged as it will be fixed in Silex directly