This is to work around #1856 which can occur when kubelet hostname and resolvable hostname (or cloud instance name) do not match.