Ignore invalid encoding when parsing attributes
See https://gitlab.com/gitlab-org/gitlab_git/issues/28 for the discussion leading up to these changes.
See https://gitlab.com/gitlab-org/gitlab_git/issues/28 for the discussion leading up to these changes.