Include hostname in assertion to avoid vulnerability