DOC: Add default for getenv. Fix paths. Add print_info

This should get the docs builds going ok again.