When there's no png info, minigraph.py will crash, because console_dev and mgmt_dev variables are missing. Better to have some basic checks here. Besides, if the role tag is missing, the bgpd.conf.j2 will fail to be deployed.