kresd/resolver: fix two init issues
- fix a 'sh: out of range' error in kresd init (see #575 (closed) for reference)
- fix a 'No such file or directory' error when you try to stop or restart a not running resolver instance
Signed-off-by: Dirk Brenken dev@brenken.org