[BUGFIX] Prevent empty newline below scheduler-task-name

The newline below a scheduler-task-name is only needed
if a progress-bar and/or additional-information follow.

Change-Id: I8d92fc0d3b8d88fdbdfdc79d8ee501b74d821bcc
Resolves: #52715
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/24619
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe