bootstrap: fix locale command

also added the locale to the testenv pre-deploy.yml,
machines spun up by test was giving locale errors in
shell.

there's a few items in the two that should
be DRYed up a little.
Can we leave the .UTF-8 on the variable, and trim on before passing to locale-gen?