Avoid a transient duplicate defn. during algorithmic topology shifts.

See the corresponding commit in this puppet-ssh source for more
information. Hopefully this fixes the issue permanently.