refactors of the mage install

some checks and repositioning of the task order to quicken the first
run.  It seems to be much faster if we don't try to extract through the
VM on a window machine