Get envvars from local image graph if fetched previously

[#75752312]

Signed-off-by: Stewart Nickolas <nickolas@us.ibm.com>