Fix bug with empty strings when getting commit number
v0.2.1