Cache: fixed 'Undefined index' error in memory adapter on access tags of...

... unregistered namespace
Can you abstract this failure case into a different test case please?