fix regression caused by https://github.com/symfony-cmf/RoutingBundle/pull/172