MDL-36825 cachestore_file: fixed isready condition check