updated logs
diff --git a/tasks/download_files.yml b/tasks/download_files.yml
index 6fc9e96..832173a 100644
--- a/tasks/download_files.yml
+++ b/tasks/download_files.yml
@@ -9,4 +9,5 @@
   with_items: "{{ result.files }}"
   loop_control:
     loop_var: file
+  when: result.matched > 0
 
diff --git a/tasks/main.yml b/tasks/main.yml
index d1ff7a3..36cab15 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -18,8 +18,6 @@
   with_items: "{{ download_pattern }}"
   register: downloads
 
-
-
 - name: Iterate over patterns found
   include: download_files.yml
   with_items: downloads.results