Tweaked module because multipart upload seems to damage agent packages