Use logger module.
Log pull number, repo.
Use interpolation over straight concatenation.
Change file extension.
Log matched branches.
Match up variable names.