agnosticbin: Improve tee's reconfiguration

Change-Id: Id92f06e1c1cd56797c2f6dfa854709c79464f5ec