Make: do not spam error messages on shallow clones

> `--always`: Show uniquely abbreviated commit object as fallback.
Merge pull request #990 from Kijewski/allow-shallow-clone

Make: do not spam error messages on shallow clones
Implement core unittests