Fix some issues with repo files