pass address of metaHeaders to GetenvJson in ImagePush and ImagePull

Docker-DCO-1.1-Signed-off-by: kies <lleelm@gmail.com> (github: kieslee)
Merge pull request #6195 from kieslee/master

pass address of metaHeaders to GetenvJson in ImagePush and ImagePull