fix cd problem in package() for armsoc-git