Decouple generation of docker image list from docker image prepull script