Add error checking on local repo update.