AMBARI-7357 resolve GCC public hostname via its metadata service