Only add pathbar children if the returned data is a list of children.