Simplified repo import logic.