[Discovery] missing a return statement in new ZenDiscovery.joinElectedMaster

Relates to #6943