fixed the error while the lockfile has not exists in remote