ValueGenerator to be replaced with its value before path is computed.

See [xchange#581](https://github.com/timmolter/XChange/pull/581)