sgw: policy script: fix error reports when too many arguments