bgp: fix AttributeError for nlri_list