Fixes #4710

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