Cleanup of the configure.py script

- Removed debugging code.
- Minor fixup of the bash-completion generator function.
- Re-generated the bash-completion script.