Correct bug for linked repositories