osm.py: fix bug in ns_list for old NB API