selftest: Avoid a build started just before midnight failing