Delete mkrepoidx function (closes #3476)
    + Must be moved to buildTools