fixed warning when no parent found for a commit
Merge pull request #62 from neiluJ/fix-commit-warning

fixed warning when no parent found for a commit