Use local repositories when inferring package dependencies