Avoid a transient duplicate defn. during algorithmic topology shifts.

See the corresponding commit in the puppet-ssh source for more
information. Hopefully this fixes the issue permanently, even though it
was transient and "Mostly Harmless".