Catch nil error when REST server returns an empty array instead of a 404 proper error
Merge pull request #162 from ronvs/fix-nil-error

Catch nil error when REST server returns an empty array instead of a 404 error