Fix repository urls and key paths