Fix "TypeError: group id must be integer" if groupid passed in for group
key
portage: default exit (not fail) if sync=yes in check mode
Merge pull request #8143 from PinGwynn/feature

portage: default exit (not fail) if sync=yes in check mode
Merge pull request #8139 from peterkh/devel

Fix "TypeError: group id must be integer" if groupid passed in for group key