Fix magit with bookmark