Fix crash in res_xmpp when deleting pubsub node from CLI