Fixed detection of MD codes

Currently the .diff file is compulsory, the .config is not. So, the list
of MD codes should be built looking at .diff files