Minor fix: module loading.

Yesterday I was testing single module loading but when I tried multiple
module definitions, it was crashing because module URI was incorrectly
resolved...

Now this is fixed.