Probably safer to do `if line.rstrip().endswith(repo):` as bad things might happen if repo ever
contained regex-like characters (e.g. `.`, `+`) - this last one would happen if repo used
`svn+ssh`.