Fix for Chef::Exceptions::ImmutableAttributeModification

workaround for Chef::Exceptions::ImmutableAttributeModification when managed_hosts in node attributes are witten as array.

http://www.opscode.com/blog/2013/02/05/chef-11-in-depth-attributes-changes/