I attached a patch that adds the missing Key-Usage: and Subkey-Usage: lines that --batch needs. Also submitted this upstream on Gnome bug 555205.