Fix magit commit mode by adding server-socket-dir.