Refactor Package.Builder#fromOrFail variants

Failed in 1h 13m
:pipeline:
Print Test Summary for Shards
1/20
:mac: macOS (shard 0)curl -sS https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?1720020284 -o bazelci.py && python3 bazelci.py runner --task=macos_v2 --http_config=https://raw.githubusercontent.com/fweikert/bazel/macos_v2/.bazelci/postsubmit.yml
Waited 8s
·
Ran in 36m 37s
Total Job Run Time: 12h 55m