Fix fatal error when "classexist" tries to call the protected loader

Fix fatal error when `Doctrine\Common\ClassLoader::classExists` tries call the protected loader