Fix #893 (creating first repo with negative priority)
Thanks for reporting !
Merge pull request #897 from AltGr/fix-#893

Fix #893 (creating first repo with negative priority)