Using the same technique as the python path checker to determine the correct md5 command. This improves the previous technique.