Don't assume `sock_dir` exists in `opts`