Update WebPathResolverFactory.php

Hi,

I'm actually updating CmfMediaBundle, i get an error while running test:

``Could not find configuration for a filter: resolve``

It run well when i make this change.

Is something wrong in my configuration or is it a bug?
this is not ok, as after this change we would again have problems with Safari