Bootstrap no longer cleans up if it can't tell whether an environment is bootstrapped or not.

Added a test to simulate an instance in which this might occur. Tested locally; some tests were failing, but they looked innocuous and related to connecting to mongo, not these changes.
Not a problem; this is purely a guard against mistaken assignment vs. equality check.