Exactly. You don't care about your flap limitations when in a windshear situation close to the ground. You try to prevent the crash and worry about flap speed exceedences later which will most likely have not caused any damage anyways.
Once safely clear of the windshear worry about configuration.