Check package version from local cache before checking internet repository
Merge pull request #2028 from MirantisDellCrowbar/bug/DCB-258/master

Fix check of pip cache