Make sure modules are built and published using the final release

"$baseDir/resolutionScratch_/repositories-without-private-repo" in case $baseDir has spaces