In my case, I opened the project on GitHub and noticed that the folder name didn’t change there, but it did change locally. I renamed the folder directly in the repository, and that solved the problem.