Fixed java.lang.IllegalArgumentException: Target cannot be null!. This was caused by the node.masterAddress being null.

(Same as https://github.com/hazelcast/hazelcast/pull/4109, but targeting `master` instead of `maintenance-3.x`.)
This can happen after a cluster merge in the window of time between masterAddresses being cleared and repopulated.