Fix https://github.com/jbox-web/redmine_git_hosting/issues/211#issuecomment-46734788