Fixes archive_type for directory fetcher.