ksgen/settings: properly filter missing args

Change-Id: I0d777cbd3f9805caf260fc76d76a949dbc308fad