The Result map can be empty on connection errors. Check that.
Merge pull request #8 from saschazelzer/check-for-empty-result

The Result map can be empty on connection errors. Check that.