Better error handling when the default group is not found

This path improves error handling raised while getting the error described at http://trac.zentyal.org/ticket/3407 . It only affects 3.2 and later. 3.0 doesn't need this patch.