Fix a patch searching bug on clean-files script.