basis.template: fix crash on isolation non-css resources