[BUGFIX] Make extension update work again

This is a regression fix. The regression was
introduced when fixing the dependency handling.

Resolves: #57260
Related: #57199
Releases: 6.2
Change-Id: I77bff766d0e4bd9d3ce74fa74db03d6b65223e67
Reviewed-on: https://review.typo3.org/28730
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel