Fix for commits with spaces

Fixes #138