fixes #2814 - fixing foreman-debug warning message
fixes #2812 - method lookup_values_attributes= not defined in Host::Managed (NameError)