fixes #7834 - properly process incoming and updated hypervisors

My preference is for trailing if's to only be on single-line statements.  This is more readable to me:

```
if consumers_attrs[:created]
  consumers_attrs[:created].each do |hypervisor|
    created << System.create_hypervisor(environment.id, content_view.id, hypervisor)
  end
end
```