fixes #548 (issue with commit messages with blank spaces)