Remove debugging statement
Remove debugging statement
Remove old code
Unset last_sync when an image was not found

This way, images will be downloaded again until they are available