Handle gracefully case where an image does not have a colorSpace attribute