Only execute when variable is defined

If you run the role on all your hosts but don't define the variables for all hosts, Ansible throws an error.
With this Fix, the playbook is only run when "genericdirectories_directories" or "genericdirectories_directories_removed" is defined.