Fixes #16422 - Foreman API throws ruby exception with ovirt network API
Passing a 'nil' resource_class to the `scope_for` method will always result in a 500 as you cannot call `.where` on nil.
Fixes #16422 - Foreman API throws ruby exception with ovirt network API
Passing a 'nil' resource_class to the `scope_for` method will always result in a 500 as you cannot call `.where` on nil.