Fixed bug - Disabling all apps, return error when generating groups
availability

Signed-off-by: Pedro Nunes <pgh.nunes@gmail.com>