Upstream mksmartvm fixes for md5sum.