Target folder as parameter, not global
Makes Packager compatible with MODX. For some reason using global for $packageDir doesn't work in MODX (is OK in Clipper).