Class loader: skip non-existing files and files not containing the requested class

See https://github.com/doctrine/common/pull/345#discussion_r22356775