Avoiding NoneType in getPulls() in intelliGit.py