solve illegal repository path