For go workspaces, all the modules share a vendor dir. The current code assumes the vendor dir is in the module directory.