Maybe, there is a misunderstanding. 
For example, in manifest, the name is set as "hello_world", so we have to create a folder of "hello_world" and zip it. But, it happens the name of user's folder is also "hello_world" and exits in current folder unfortunately.
Then we have two choices only:
(1) replace user's folder as this patch does.
(2) print an error information and failed directly.