Fix regression in buildModuleUrl.

A reference to `baseUrlString` was incorrectly changed to `baseUrl` by #1026.