fixes #11346 - on new host, nic shouldn't try to call matcher
there's no point in doing the call anyway (can, theoretically, use the fqdn field instead of asking the host) because there shouldn't be any lookup keys with that host's fqdn, as it's a new host. also, fqdn_was is an empty string in that case
(cherry picked from commit 8561fe995335b91bc5cd6030ed40a5dd53f3777a)
Related issues
Bug #11346: undefined method `lookup_value_match' , deployment of a vmware host by API
fixes #11346 - on new host, nic shouldn't try to call matcher
there's no point in doing the call anyway (can, theoretically, use the
fqdn field instead of asking the host) because there shouldn't be any
lookup keys with that host's fqdn, as it's a new host.
also, fqdn_was is an empty string in that case
(cherry picked from commit 8561fe995335b91bc5cd6030ed40a5dd53f3777a)