checked if the path doesn't match a directory too

So that it gets handled by the webserver.

My use case is a folder with static files (html js and css), I was expecting that for ```/folder``` path the ```index.html``` file in it were served (because of apache's DirectoryIndex) but I had a Symfony error instead.