Changes the method call Loader::canLoadClass to class_exists. The class_exists function will check if the file exists.