aaa: fix query directory groups

Topic: AAA

Change-Id: Ie4af59ed32e36639120ac976e05b08e868719390
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>