fix the repositories being overridden by multiple repositories { } blocks