Hmm, making this a strict sha makes like a bit harder other places.
We check for a branch name first, then fall back to this method, so I think things should be ok.