Fix 'Array to string conversion' error when AUTOLOAD is an array of paths.