Added check for resolv.conf

No matter what happens, if there is a directory /etc, we should put a resolv.conf there.