Only update config file if config dir unset

If I understand it correctly, when I try to overwrite the whole config dir, I must have also provide the config file in that `source dir`.

And this is the case when I try to apply the nginx module. When I try to replace the whole `/etc/nginx` with my own config, I found that `/etc/nginx/nginx.conf` been overwritten to the module default one.