Adjust to changes in gocd-api