Fix repository mapping