Return empty array if publicipaddress is nil