Fix ip address retreival for instance connectivity check

Change-Id: Ic72a150a33ec7e819b30d2d277a4f6f0a471ae47
Merge "Fix ip address retreival for instance connectivity check" into 3.2-fixes