Anki moves Anki folder to ~/.local/share/Anki2 (Linux)

Hello,
Why does Anki move ~/Documents/Anki folder to ~/.local/share/Anki2 automatically, without any warning?
I store my projects there and all of the sudden they disappeared. I managed to find the files, restored them to ~/Documents/Anki and once I run Anki again, they were moved back to ~/.local/share/Anki2.
How could I stop Anki from doing that?

I’ve added consider removing old Documents/Anki migration · Issue #1390 · ankitects/anki · GitHub