Fix typo.

This broke samba when the enable homedir checkbox was checked.

Ticket: #4571