this is a 2.4-ism: relative vs absolute imports.
as of 2.5, you can do `from __future__ import absolute_import` (should become default in 2.7? certainly in 3.)
in 2.4, other trickery is required
```
try:
    _log.deprecated('This is required due to relative import behaviour in 2.4 (and missing future feature)' , '2.0')
    try:
        from __future__ import absolute_import
        import git
        from git import GitCommandError
    except SyntaxError,e:
        git=__import__('git',{})
        GitCommandError=git.GitCommandError
    HAVE_GIT = True
except ImportError:
    _log.debug('Failed to import git module')
```
@JensTimmerman thoughts?