I just updated to set "context.CommitId" from the local variable "id" in DeploymentManager.Build(). The "id" variable was checked against null or empty at the start of Build(), so context.CommitId should be fine now.