getRealPeerName returns string instead of None if dict missing

* this should not happen at all, so this does not change anything
* if it is happening, at least the type is right
* do not return IP to see, that something is wrong!