Fix bug. Update repo list before installing puppet.