Change PathValidator for symfony2.3