Fix crash handling deployment with no config

Fix crash when processing a deployment which has no deploymentConfig
label defined.