Fixes potential undefined exceptions.
Merge pull request #9963 from osuka/fix_call_log_db_error

Bug 875310 - storage _getList will trigger undefined and not properly call callback. r=ferjm