[TASK] Fix some typos in environment check.

Change-Id: I63cdb982dc70a7cb79e6a580974a20a10482d0c6
Resolves: #47915
Releases: 6.2
Reviewed-on: https://review.typo3.org/20492
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn