samba-tool: Improve getopt.py error handling