Some resource clean ups in archive

Docker-DCO-1.1-Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com> (github: LK4D4)
Merge pull request #7016 from LK4D4/fix_some_cleanups_in_archive

Some resource clean ups in archive