packaging script fixes (exclude .git/ and release/)