Updated repo model to correctly add permissions  and to correctly add repo to MongoDB when  necessary.
Updated repo model to correctly add permissions 
and to correctly add repo to MongoDB when 
necessary.
DHLabs/keep,DHLabs/keep,9929105/KEEP,9929105/KEEP,DHLabs/keep,9929105/KEEP