Fix an error when restarting buildbot