Make IP retrieval more reliable
Make IP retrieval more reliable

Previous to this commit, the public IP returned from ruby-libvirt may
not be an array. The code assumes it's an array and always grabs the
first item.  I'm not sure if it's ever an array, but to be safe this
commit ensures what's returned from #public_ip_address is an array, then
the first item is selected.

akshaykarle/veewee,fxposter/veewee,swiftstack/veewee,dmkoch/veewee,mhuckaby/veewee,bjreath/veewee-lab,xalopp/veewee,courtney-miles/veewee,zorosteven/veewee,Wenzel/veewee,Falkor/veewee,cgvarela/veewee,mhuckaby/veewee,ngpestelos/veewee,phusion/veewee,esfourteen/veewee,nitrocode/veewee,dmkoch/veewee,jedi4ever/veewee,zenweasel/flagrant,charlesdunbar/veewee,cgvarela/veewee,phusion/veewee,xalopp/veewee,fxposter/veewee,jordant/veewee,sjfloat/veewee,KwadroNaut/veewee,swiftstack/veewee,mcnster/veewee,sjfloat/veewee,jedi4ever/veewee,Gamevy/veewee,charlesdunbar/veewee,nettucu/veewee,dmkoch/veewee,cliffrowley/veewee,akshaykarle/veewee,Wenzel/veewee,cliffrowley/veewee,leopoiroux/veewee,jordant/veewee,ngpestelos/veewee,phusion/veewee,swiftstack/veewee,ngpestelos/veewee,courtney-miles/veewee,KwadroNaut/veewee,fxposter/veewee,akshaykarle/veewee,mcnster/veewee,mcnster/veewee,nettucu/veewee,tom-seddon/veewee,caphrim007/veewee,Gamevy/veewee,Wenzel/veewee,zorosteven/veewee,hh/veewee,mcnster/veewee,jordant/veewee,caphrim007/veewee,nitrocode/veewee,sjfloat/veewee,tom-seddon/veewee,zenweasel/flagrant,dmkoch/veewee,esfourteen/veewee,ngpestelos/veewee,fxposter/veewee,cliffrowley/veewee,courtney-miles/veewee,nitrocode/veewee,bjreath/veewee-lab,jedi4ever/veewee,nettucu/veewee,zorosteven/veewee,esfourteen/veewee,phusion/veewee,hh/veewee,caphrim007/veewee,tom-seddon/veewee,hh/veewee,cgvarela/veewee,phusion/veewee,cliffrowley/veewee,jordant/veewee,jedi4ever/veewee,mhuckaby/veewee,caphrim007/veewee,Falkor/veewee,hh/veewee,xalopp/veewee,xalopp/veewee,nitrocode/veewee,charlesdunbar/veewee,swiftstack/veewee,Falkor/veewee,Wenzel/veewee,fxposter/veewee,leopoiroux/veewee,bjreath/veewee-lab,KwadroNaut/veewee,bjreath/veewee-lab,zorosteven/veewee,leopoiroux/veewee,zenweasel/flagrant,esfourteen/veewee,jedi4ever/veewee,swiftstack/veewee,zorosteven/veewee,xalopp/veewee,mhuckaby/veewee,leopoiroux/veewee,cliffrowley/veewee,courtney-miles/veewee,nitrocode/veewee,KwadroNaut/veewee,Falkor/veewee,leopoiroux/veewee,bjreath/veewee-lab,ngpestelos/veewee,jordant/veewee,mcnster/veewee,cgvarela/veewee,KwadroNaut/veewee,caphrim007/veewee,nettucu/veewee,dmkoch/veewee,Gamevy/veewee,charlesdunbar/veewee,zenweasel/flagrant,sjfloat/veewee,akshaykarle/veewee,Wenzel/veewee,tom-seddon/veewee,Gamevy/veewee,cgvarela/veewee,mhuckaby/veewee,tom-seddon/veewee,sjfloat/veewee,nettucu/veewee,esfourteen/veewee,Gamevy/veewee,courtney-miles/veewee,Falkor/veewee,akshaykarle/veewee