fixed code to use ssh clone url for private repos