Allow for short commit SHA, closes #990