correct autoload detect error (refs #4168)