Detects package statements that do not correspond to the project directory structure.