The .Any calls in DeploymentProvider crash if the settings are null. Make these empty instead of null if not found.