Cache: Don't always write "cache is not supported"

Add this message to log only if IO_FLAGS_CACHE is passed
tests: Added one more lookup test

For case if file is present not in all groups