Simplify the handling of enable_sshd

We can just use the `$tree` structure we have generated earlier.