Bethe-Peierls theory for the dilute RKKY spin glass