diff --git a/slapos/grid/networkcache.py b/slapos/grid/networkcache.py
index 0a637c7261b5797110821a7cbc5a6ec74c2dcc87..d49636744e974906afcf190081c9c0aa23cc875c 100644
--- a/slapos/grid/networkcache.py
+++ b/slapos/grid/networkcache.py
@@ -64,7 +64,7 @@ def download_network_cached(cache_url, dir_url, software_url, software_root,
     if not LIBNETWORKCACHE_ENABLED:
         return False
 
-    if not(cache_url and dir_url):
+    if not(cache_url and dir_url and software_url and software_root):
         return False
 
     if len(signature_certificate_list) == 0: