magit: let "Latest commits" section work with newer versions of magit