handle riak error case by returning null for now