Avoid transform on images that have not been correctly downloaded. Closes #24