Fixes the autoload_namespaces generator for packages in the root of the vendor directory