A bug fix for the cylc-submit tests.