Rebasing fails to correctly map to the original source when including a template from inside a block