More descriptive names for $repo variables and methods

This is split from If6c96e0 to make it easier to review and find
out what makes jenkins fail.

Change-Id: I85e183b51cdc3d3f4870704de19e5f3242ff86fe