core: fixing findbugs in AddGroupCommand

Change-Id: I801596dc43aa6f684246670d1dd40aeb7aafc47f
signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>