[BUGFIX] Cannot build beta releases

Change-Id: Ie4502ac6b216abc18fccf4a8c42c7eb30d76ddef
Fixes: #57456
Reviewed-on: https://review.typo3.org/28977
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers