Made sourcemap test independent of repo directory

The repo's absolute local path becomes part of the generated sourcemap,
so the test was failing when that absolute path was different