lazy-load hostname to avoid getting the pre-configuration hostname