magit-diff-dwim: bugfix