GetRepoImportPath: Detect and handle case mismatch in prefix.