Checkmk Werk 11873: Fix exception caused by custom host attributes when saving host changes