examples: Refactor env variable comparison step
Environment variables can be stored in the image config in different
forms, with or without qualifying quotes around the variable value.
Refactor the example step implementation to parse/normalize environment
variable values before comparing.