Fix 'remote' path in lock files so they're the right thing