Bug 952047 - SSH key doesn't detect duplicate because name is changed

key.name is being passed to a formatting function which is appending a value
to it.  Prevent strings from being mutated by formatting.