fix potential failure in verify-examples (#17698)
fix potential failure in verify-examples (#17698)

If the `git checkout` of the specific tag causes `resource.go` to
change, then it will fail if it is done after adding the test copy of
`resource.go` due to discarding a local change.

Signed-off-by: Greg Greenway <f58b4fce410ab27c1d5cc4afd1f2a190e9aa65c3@apple.com>
envoyproxy/envoy,lyft/envoy,lyft/envoy,envoyproxy/envoy,lyft/envoy,lyft/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,lyft/envoy,envoyproxy/envoy,lyft/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy