Handle node renaming better

 * Don't bother trying to rename if it's the same name.
 * Don't refresh if didn't rename.

Change-Id: I670777969a72ea5db7597e8617a4f80b6c0067a8