fix get_image to handle fresh startup correctly