Catch specific Resolv exceptions when getting hostname for rackspace.
Stub out and test Resolv exceptions for rackspace hostname attribute.