Only switch to the agents ping endpoint if it was supplied.
Only switch to the agents ping endpoint if it was supplied.

es/agent,buildkite/agent,Jasperswaagman/agent,grosskur/agent,es/agent,Shopify/agent,Shopify/agent,buildkite/agent,es/agent,Jasperswaagman/agent,Shopify/agent,grosskur/agent,Jasperswaagman/agent,buildkite/agent,grosskur/agent