Fix: Do not segfault if <role type="..."> is unknown