environment installs: fix reporting. (#20004)
environment installs: fix reporting. (#20004)

PR #15702 changed the invocation of the report context when installing
specs, do the same when building environments.
iulian787/spack,LLNL/spack,iulian787/spack,LLNL/spack,iulian787/spack,LLNL/spack,LLNL/spack,LLNL/spack,iulian787/spack,iulian787/spack