Fix double slash in template path