[PATCH 2/2] Network spoke: add sanity check for hostname setting (#856456)