Avoid trying to set the id if the response is null.

Instead let it be passed through, where it will cause a "no data found"
type error.
Merge pull request #21 from tomclose/gh-pages

Avoid trying to set the id if the response is null.