hooks/commit-msg: Fix story branch matching

For some reason the hook was expecting the story ID to be an integer, which does
not have to be the case with JIRA issue keys.

Change-Id: 45511053a6
wip

Change-Id: 6272c4819f
Story-Id: SF-6