AppPackage repack for hidden files

Hidden files ignored due to * vs . in zip call in repack.
Patch by @wallyqs and @JeanSebTr via github pull requests
which got closed and never brought back in.