I suspect you compressed the folder including the folder name itself.
But if you want to put your theme component under version control then you should not reupload it. You should install it “From a Git repository” or even (much) better: use the Discourse Theme CLI console app to sync changes.