unload of anaconda module failing in subshells
Bugfix
When module unload/purge is done in a subshell the conda bash functions are not available. This leads to error messages pointing the user to execute conda init, which will modify his bashrc. The real reason is that the conda functions are not exported to be inherited by subprocesses. Instead of enforcing the inheritance one should rather implement a conditional that reloads the appropriate conda environment.