Re-enable exceptions when getting environments.

Need to find some other way to handle exceptions during auto-completion.