Fix error when time_last_tested has a None value.
When a push is received in the hg controller, update the repository on disk after the push is complete.