Fixes an issue where part of the tests fail due to over-quoting of `GOFLAGS` and treating `-trimpath` as part of `-mod`.