For the HttpFoundation and Locale Symfony components, we have some classmap entries and the target-dir value is not empty.
One such classmap reads as follows: "classmap": [ "Symfony/Component/HttpFoundation/Resources/stubs" ].
"classmap": [ "Symfony/Component/HttpFoundation/Resources/stubs" ]
This works fine when installing the component, but when testing the component as a standalone lib, the generated autoloader will look for the classmap in Symfony/Component/HttpFoundation/Resources/stubs, which of course does not exist when checking out the standalone repository.
Remove target dir for classmap autoloads of the root package, fixes #…