Fix #5937 by removing dependency on which
Merge pull request #7120 from quinnj/jq/curl2

Fix #5937 by removing dependency on which