magit: use my https://github.com/magit/magit/pull/872