git-cat-file: Make option parsing a little more flexible