Before correcting if repo file exists