Fix. Supply correct number of args to _sync.

Change-Id: I753bfb31c94a734b4cca8a3a80eb0fda0813e64b
Mod. raise error for bad returncode in _get_latest_deploy_tag.

Change-Id: I0e9948112084b023dd086ee5c9cc2eae28c78405