[BUGFIX] Invalid LaTeX project name

Change-Id: I443c01d85668fc73e20f8ebd684684447e4c754e
Fixes: #53000
Reviewed-on: https://review.typo3.org/24954
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers