Fixed multi-repository bug