See https://github.com/symfony-cmf/RoutingBundle/issues/217