CHEF-4998: Fix do_checksum return value for md5s

Fixes a regression in f9e6d8