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.