Moving the local repo from HDD to SSD (on the same computer) made the warning to disappear. I'm on Windows so I guess you are right, it can be because of the type of disk where the codebase is located.