Fix repository creation now that packages are readonly inside the jails

Ticket:		[5e6dc16c5b]
Submitted by:	antoinne