Re-fix for broken due to update the Magit.