I was able to make your setup work by using the replace directive with your project’s go.mod file, instead of using module.replacements within your project’s configuration file.
Tank you, that works for me too.
I still hope this gets fixed soon. I see a huge advantage to handle this in config files if used in conjunction with environment specific configuration-directories.