Sometimes, these can exist, but be None.

...so, protect against that.
Use short hashes here.
Merge pull request #106 from fedora-infra/feature/short-hash

Two different changes