fix repositories for recursive processing.