Prior to this fix, when reimporting (where we have no remote files), we were getting [nil] rather than [] for the files. This resulted in an error Error: NoMethodError - undefined method '[]' for nil:NilClass
This PR corrects the logic for gathering the remote files to be imported.
Prior to this fix, when reimporting (where we have no remote files), we were getting [nil] rather than [] for the files. This resulted in an error
Error: NoMethodError - undefined method '[]' for nil:NilClass
This PR corrects the logic for gathering the remote files to be imported.