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