Instruct front end to provide blank environment value if environment count does not match content of environment array

GCP-9894

Code review : Daniel Jao