ensuring that config["env"] is a string so that shellwords doesn't choke on it