Only add search option to resolv.conf if search is set