Do not set ARCH in main.sh.
Make sure MIRROR is not expanded (it may contain variables in Arch).
Merge pull request #192 from drinkcat/croagh+push

Minor fixes to the croagh framework.