Fix crash on check of MD5 for external locations.