Update the base dir when recursing through the dependency closure.
When the versionSpec is a relative path, generate relative source paths