Adds missing null checks to shouldBackup methods

closes https://github.com/hazelcast/hazelcast/issues/2956