Redmine#6067: install .gitignore explicitly

see https://dev.cfengine.com/issues/6067