post-commit hook: use branch creator as owner

For notification. If branch owner cannot be determined from the branch name,
use branch creator as owner.