Simplify setup for local bottle installation

Closes #22833.