mw-core-get.sh: bug fixing

* git archive returns non ziped archive, so drop 'z' from tar
* missing whitespace in if condition

Change-Id: Id22611657e891bd7079a066c424eb03d560085f2