Rename ambiguous $repo to $wikibaseRepo

This is split from I04767f2.

Change-Id: Idc31b4b81fca351358f659f8f3f8fbaa2ebe61d5