Share the envs_dir value for git_repo and static envs

This does break compatibility for those who use modules_path, but I think that
in the long run this is a better way.