fog/fog — pull request #932 by mattray (2012-05-26 04:21:07+00:00)
Title: catch passing an invalid openstack_tenant

Passing an invalid openstack_tenant throws a
Exception: NoMethodError: undefined method `[]' for nil:NilClass
from
mgmt_url = svc['endpoints'].detect{|x| x[@endpoint_type]}[@endpoint_type]
because you get an empty serviceCatalog.