Oh, I've almost missed here. This if could be refactored to `if info.manifest.system['waagent'].get('conf', False):`, as this is the safe way for checking for dictionary keys.