Fix parsing of repository name on hook requests.
Consider just first 12 characters of commit sha.

Bitbucket does not send the whole sha. Just the first 12 characters.
This could lead to duplicate keys in Redis.