remove invalid repo file