Implement limited environments. Existing env script uses git - not sure
whether it's a good idea to nest git repos.