pacakge: fix memory issue with uploading packages
Merge pull request #79 from sym3tri/upload-memory-fix

pacakge: fix memory issue with uploading packages