Fix repository resolver