don't fail for no files found Fixes #8517

Fixes #8517