repo: Fix missing package path when multiple versions of a package exist

Fixes:	#524