Fix error log spam

Regression from e002b7242cb19a0e028d325cd64b57e67dc48108
Merge pull request #7969 from Xenopathic/files_external_fix

Fix error log spam