git-check-attr: Process command-line args more systematically