Teach init_cfg about environment variables

Looking at environment variables to find installed files before falling
back to the default location makes testing simpler.