Fix sourceURL mapping when extensions are used

Fix #30
v0.3.22
Merge with v0.3