Updated agent to restart without running any further commands if a resta...

### Summary
- Updated agent to restart without running any further commands if a restart is needed for our nova updates.  
- Removed KMSActivate registry key logic and coded KMSActivate to run the cloud-automation scripts directly if the sysprep registry key is present.