Fix updating of local repositories.