Bug 974082: Don't reset mock environments if we don't have to r=bhearsum