Only import pygit when GitReader is used