Fix the hooks autoload path.