Auto merge of #55823 - alexcrichton:beta-next, r=alexcrichton
[beta] Make sure the installed `awscli` is found on macOS.
This is a backport of https://github.com/rust-lang/rust/pull/55573 which...
Closes https://github.com/rust-lang/rust/issues/55817