Make daemon-init variable checking consistent

One place in the "check for errors" thingie used "$VARNAME", where
all others used "${VARNAME}". This fixes that, making the code a
bit prettier and also puts it in line with the original pull
request.

Signed-off-by: Andreas Ericsson <ae@op5.se>