Clarify and report currentProject flag.

Report the currentProject flag; clarify behavior when the same
dependency already exists in the conflictingDependency list.
fix warning