Fix check of pip cache

It does not require update-cache if local cache meets declared requirements