Fix validation issue on repository edit form