Allow resource groups of 0 resources

Change-Id: I16fb23afe1ef3fd91a4f5d8aa2bd7fea04ffc21e
Closes-Bug: 1339292
Merge "Allow resource groups of 0 resources"