Fixed bug which prevented adding first repo