fix UnboundLocalError: local variable 'client' referenced before assignm...

...ent seen in test_drop_master_with_load_and_verify