Fixes #4710 / #2270 properly

By adding respond_to? we fall back to what we used to use in 1.4.0 and older when ip_addresses is not defined on the compute resource