Updated getParserEnv call to fix the broken script

Change-Id: I29e4280267692e924129ed796ec8b3a433796368
Merge "Updated getParserEnv call to fix the broken script"