If requested path refers to a directory, then check if there is no index file to use.