Fix repository type