Pseudo: bug fixes

  - fix error when upload directory exists
  - fix error when $ZIP doesn't exist

Change-Id: Ide2b7d0d893630d93aa5b5b1aeca65934c5775c3
Signed-off-by: KhasMek <Boushh@gmail.com>