[BUGFIX] Fail to download from https://

Change-Id: Ie954902d8ecbb41aa6ac1e537234ae8eec13834a
Fixes: #53198
Reviewed-on: https://review.typo3.org/25054
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers