removed --list option for older git installations. using sys.version_info as tuple for python 2.6 support.