method of early return from upload

see https://stackoverflow.com/questions/2316475/how-do-i-return-early-from-a-rake-task