Ensure rspec helpers call curl with --fail
If a curl request fails with a 404, we should default to the fallback routine so tests like `detect-test` will gracefully recover. Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/473318
If a curl request fails with a 404, we should default to the fallback routine so tests like `detect-test` will gracefully recover. Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/473318