util.pubsub: Check whether node exists, when deleting