Don't allow to remove the current environment

Fixes #639.