Handle potential undefined; remove profane log message
Be more explicit; return empty string when ips is empty or undefined
Merge pull request #268 from zenoss/feature/ZEN-13487

Handle potential undefined; remove profane log message