SCUBA2: exit with error if all data are bad

If the list of sorted subgrps is empty then it means all the input
data are bad and it is not possible to create a cube. In this case
print a big red warning, write a dummy flag file and terminate the
recipe immediately.