BugFix: Pack file size check didn't work correctly.
Ignore doc directory.