SCUBA2: only calculate the noise if a new image was created

In the summit pipeline, the log file log.noise had redundant entries
where the pipeline was still calculating the noise and writing it to
the log even though no new map had been created. Now just skip the
calculation unless a new image was created.