magit: Add temporary workaround for Emacsclient