Fix upgrade that doesn't set the CATTLE_AGENT_IP