fix error when adding package to env in container (#11321)
fix error when adding package to env in container (#11321)


LLNL/spack,iulian787/spack,LLNL/spack,LLNL/spack,iulian787/spack,iulian787/spack,LLNL/spack,iulian787/spack,LLNL/spack,iulian787/spack