Fix validation when importing excel file

Reviewer: Daniel Jao (post-commit)

Issue: GCP-9145