[ArmNagiosNDOUtils] Use upsertHosts instead of a deprecated method in getHost().