Your fix is OK, but I find it simpler if this env dict is never None, so I suggest a different fix which would initialize it with an empty dict rather than None.
You can try putting this file at the same location in your brainvisa installation (python/soma/):ftp://ftp.cea.fr/pub/dsv/anatomist/upda ... oma/env.py
I just wonder how you end up with something empty here: if you are using a binary distribution install, the startup scripts should setup some variables here (to save values of the initial environment actually before it is modified to point to brainvisa paths).
What is the appropriate channel for this kind of issues ? Well, it's still not very clear: this forum is for discussing problems so it is OK to report them here (anyway It seems that I am now the only person who answers questions, not all of them because I don't always have time and then often forget). We have a bug tracker of course but it is not on github, it is on a sources repository which is hosted by our institution, and has only an access with a login (even in read-only mode, which is really a problem). To counter this problem, we have setup a "public" login/password that anyone can use to browse the sources and issues of the open-source projects:https://bioproj.cea.fr
Now if you wish to contribute and submit fixes, we would be OK to open an account for you (and happy to have contributors), but working with the sources is more work...