[BUGFIX] Fix broken unit tests for PackageManager

Resolves: #63531
Releases: master
Change-Id: Iba8e8b148915b73a14aa1bc74ee6ce460d64de03
Reviewed-on: http://review.typo3.org/34954
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>