Catch empty hostgroups during build