Substitute evaluation environment

Run `.brew.cached` in the package’s rather than the client’s name scope
to avoid using redefined functions.