fixed magit executable in emacs