(bug 45734) Handle "invalid group" in user friendly way

Change-Id: I24ba035841f0e3f9ab26c91c1bc53a258b35cd54