samba-tool user readpasswords: avoid `assert` for validation