Fix panic when `ENV ARG=ARG` is used.

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Merge pull request #7814 from erikh/fix_parser_env

Fix panic when `ENV ARG=ARG` is used.