discovery: Make it less likely that a locally assigned remote foundation clashes with the remote one.