Fix repository config