Issue 791 New repository creation bug fixed.

OK, no problem, as long as qulice doesn't complain