Check if string empty?
Fail if no private address available
Merge pull request #627 from kris-lab/issue-627

Fix get_ipaddress