Fixing attributes handling in CmsFlexCacheKey

If attribute, which is used as part flex cache key is null, we get error, when trying to build flex cache key. It's wrong, because null can be valid value for such situation and we have to handle it