fix how email_gen was detecting archival files for case with no reports
flake8 errors in upload_checks
PR Self Evaluation
[x] I have reviewed my code to check that it contains no sensitive information.
~- [ ] I have commented my code, particularly in hard-to-understand areas~
[x] My changes generate no new warnings
[x] I have added tests or modified existing tests that prove my fix is effective or that my feature works
[x] Existing unit tests pass locally with my changes
fix how email_gen was detecting archival files for case with no reports flake8 errors in upload_checks
PR Self Evaluation