Refs #12588 fix bug, make slug migration exception nicer

2 jobs for F12588T3V10MigrationScriptReplaceAliasPatterns in 2 minutes and 7 seconds (queued for 2 minutes and 41 seconds)
Status Job ID Name Coverage
  Build
failed #9261
snapshot

00:02:07

 
  Selenium
skipped #9262
selenium
 
Name Stage Failure
failed
snapshot Build
........................................F..F...F............... 252 / 354 ( 71%)
....F..FF..F..FF.F....FF......FFFFFFFFFFFFFF......FFFFFFFFFF... 315 / 354 ( 88%)
....................................PHP Notice: Undefined index: baseUrl in /home/gitlab-runner/builds/XaaowtLq/0/typo3/qfq/typo3conf/ext/qfq/Classes/Core/Store/Store.php on line 336
PHP Warning: require(/home/gitlab-runner/builds/XaaowtLq/0/typo3/qfq/typo3_src/vendor/autoload.php): failed to open stream: No such file or directory in /home/gitlab-runner/builds/XaaowtLq/0/typo3/qfq/typo3conf/ext/qfq/Classes/Core/Typo3/T3Handler.php on line 116
PHP Fatal error: require(): Failed opening required '/home/gitlab-runner/builds/XaaowtLq/0/typo3/qfq/typo3_src/vendor/autoload.php' (include_path='.:/usr/share/php:../../Resources/Private/Classes/:../../Resources/Private/Classes/:../../Resources/Private/Classes/:../../Resources/Private/Classes/:../../Resources/Private/Classes/:../../Resources/Private/Classes/:../../Resources/Private/Classes/:../../Resources/Private/Classes/:../../Resources/Private/Classes/:../../Resources/Private/Classes/:../../Resources/Private/Classes/:../../Resources/Private/Classes/:../../Resources/Private/Classes/') in /home/gitlab-runner/builds/XaaowtLq/0/typo3/qfq/typo3conf/ext/qfq/Classes/Core/Typo3/T3Handler.php on line 116
Makefile:116: recipe for target 'phpunit' failed
make: *** [phpunit] Error 255
Cleaning up file based variables
ERROR: Job failed: exit status 1