Stabilize the reboot-pending spec by making sure the registry is clean first.