Fixes #5908 - transfer the locale information to the dynflow run/finalize phase