do not leak internal repositories during staging