Add missing required space
Bash is not always available.

Let's stick with POSIX compliant shell
Don't rely on `EUID`
Merge pull request #12288 from s0undt3ch/hotfix/lxc-fixes

LXC tarball fixes