detect when user-owned segment of template path expands to nothing