fix client repo file
added error checking