Make it so that repeat: can terminate on nil OR an object and return that