determine template from package rather than from path