I don't think this is needed, since we already do this above in the call to `AddDeploymentSettingsAsEnvironmentVariables`. Right @amitapl? So you should only need the else case.