Add pkg directory to .gitignore.