Improve repository installation