SGA / sky subtraction: pull out version number earlier, so version is set even if no galaxies touch
SGA / sky subtraction: pull out version number earlier, so version is set even if no galaxies touch

legacysurvey/legacypipe,legacysurvey/legacypipe