Fix #1351 : Substitution files are considered valid for download