COOK-4730 fetch ip address from right spot

Sharing a fix I used to get multiple interfaces working with this cookbook.