Repository dir ref