File <File> was checked out to <folder>, not to <folder>

This warning has the following cause and solution: