scripts/nsdeps: adjust to the format change of *.mod files