If there is a locked_version, check the CookbookStore directly

This causes a dramatic speed improvement for already-downloaded dependencies and ensure the proper cookbook version is actually used.