Address a concern reported by Coverity.

Coverity was concerned that we didn't check the return value of
GetDaemonSocketDir(). There's no actual bug, but this change makes the
code a little cleaner.