ctdb-daemon: Use a local variable instead of repeating getenv()