In order to allow conditional service registration based on
ExtensionManagementUtility::isLoaded() checks in Services.php,
the PackageManager is pushed to ExtensionManagementUtility
before container creation. This has been the case prior to #91500
in order to support runtime activated packages, but got removed
as isLoaded() checks in Services.php have never been an intended
usecase.
They have been documented in example code nonetheless
and therefore usage is now fixed:
https://docs.typo3.org/c/typo3/cms-dashboard/master/en-us/Configuration/WidgetRegistration.html#services-php-file
Documentation should be adapted to recommend conditional
services checks (ContainerBuilder::hasDefinition) instead.
Once that is done, isLoaded() in Services.php can be marked as
deprecated in future patches.