Fix source activate -h when an environment is activated

Closes #276.