build: also find and remove .gitignore files when installing sources