CHEF-4141: Fix md5 binary detection

This change fixes a minor bash bug related to the interpretation of undefined variables.