xml_node_get_text() may return NULL, so need to check the return value before using it. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>