DATAMONGO-962 - Cycle guard should respect full path.

Removed obsolete pattern matching on path.
Added a litte javadoc to expain the intention behind all this.