DNN-6280: fix for get meta-data for host is not using the proper method.