Prevent panic upon error pulling registry
Merge pull request #1898 from dotcloud/smallfix_registry

Prevent panic upon error pulling registry