Issue #3189860 by Xiaohua Guan, yas: Fix an error at k8s_to_s3_export_entity_batch while running cron job
Closes #3189860