simplified logic in WallHooksHelper::onParserCacheGetETag()