Remove the .git extension instead of taking the first field from the cut

王权利请求将github/fork/marcoceppi/issue945合并到master

Created by: marcoceppi

This fixes gitlabhq/gitlabhq#945 where repositories with a period don't properly get their events tracked.

合并请求报告