Sourcing spack/share/spack/setup-env.sh no longer loads the proper directory in $MODULEPATH. The reason is that the value of _sp_sys_type is wrong.
spack-python -c 'print(spack.architecture.sys_type())'
linux
should instead produce linux-centos7-x86_64 on this system.