Fixed regression bug from bb61cc9 commit and update changelog.

Signed-off-by: crynobone <crynobone@gmail.com>
Ignore .gitattributes from export.

Signed-off-by: crynobone <crynobone@gmail.com>