Protect _getUserVars() from newlines in env vars