Added function to insert commit into pack
Fixes indentation
Merge pull request #1501 from xavier-l/packbuilder-commit

Added function to insert commit into pack