Clear the ref number when restarting

Currently if you do a 'taste-tester restart', then next test/upload will fail.