Steps to reproduce:
- Create a plan with empty checkout directory (checkout to the root of the plan)
- Run the build
- Change the checkout directory for example to 'subdir' (checkout to the subdir of the plan)
- Run the build <-- error occurs
Also the bug is reproduced if checking out to the subdir first and then to the root.
The plugin checked only exact mappings. If a workspace is located in the directory one level up or down it is not detected.