Don't call API for nil ids
Merge pull request #26 from iHiD/do_not_call_for_nil_id

Don't call API for nil ids