make pacemaker_vip_primitive more defensive

Currently we are seeing pacemaker_vip_primitive occasionally
generate NoMethodError exceptions like:

  undefined method `[]' for nil:NilClass

Clearly we need more helpful error messages when things go wrong.
Merge pull request #76 from aspiers/vip-definition-network-error

make pacemaker_vip_primitive more defensive