Make git submit compatible with new version of magit