Backport path validation changes.

Change-Id: I2f30b3f01fe61306d89a8bd83fbd375a324e5e55
1 file changed