Created by: vg-stan
Fixes #6875 (closed).
I tested this using two clones of a project using CRA and css modules. The clones have different paths. Before this PR, the classname hashes would be different, after the change the classnames are the same.