private async Task <string> GetVar(Dictionary <string, string> dictionary, SshClient client, string name) { if (dictionary.ContainsKey(name)) { return(dictionary[name]); } return(await client.GetEnvVar(name)); }