Fix repository add command