[#456] Handle 'null' deviceId in image checks

* Bulk Upload will have no device identifier associated
* A missing image from Bulk Uploads, will be stored without deviceId