diff --git a/tasks/install.yml b/tasks/install.yml
index 8c8310df92208f59c6e6d2329139a3e9cbd594a0..e815659499a7303f172ffa7801f87e4c3c386179 100644
--- a/tasks/install.yml
+++ b/tasks/install.yml
@@ -58,6 +58,7 @@
     name: "{{ lookup('env','USER') }}"
     groups: www-docker,docker
     append: yes
+  when: lookup('env','USER') != ''
 
 - name: Fish Config
   copy: