basis.template: avoid multiple template path/theme definitions (ignore) and fix SourceWrapper destroy