Fix repo upgrades structure.

Reported by:	zotrix via irc