Can you use KuduUtills.GetTestSetting here? It supports both environment variables and configuration settings