pass address of metaHeaders to GetenvJson in ImagePush and ImagePull

Get the metaHeaders in function ImagePush and ImagePull, pass the address of var
metaHeaders to GetenvJson.