Fix title problem when repo url doesn't have .git suffix