Improving installation script so it wont reconstruct the repo each time it is executed