minor fix for delete not used images when script does not contain any image