Fixes #28563 - Be defensive about interface type in API
It appears in some cases interfaces might be registered in the database with `nil` type. While that is invalid, such interface's existance causes the host/nic APIs to return an error instead of the requested information. This PR makes sure that such interfaces are still displayed in the API.
Related issues
Bug #28563: undefined method `split' for nil:NilClass when viewing the host info with hammer
Fixes #28563 - Be defensive about interface type in API
It appears in some cases interfaces might be registered in the database
with `nil` type. While that is invalid, such interface's existance
causes the host/nic APIs to return an error instead of the requested
information.
This PR makes sure that such interfaces are still displayed in the API.