plugins: Add absolute template path check