Improve error handling for wrong autoloader permissions