Remove unnecessary method
Fix #18

Avoid creating strings with weird characters by using a git format that
only outputs an abbreviated commit hash.