fix rollback of environment when workspace has been deleted

@jbohren Please verify that this patch address the issue you were able to reproduce in https://github.com/catkin/catkin_tools/issues/47#issuecomment-44228618