Fix processing of git tasks if there is no new version.
fix typo in upload task