bug #11319 [HttpKernel] Ensure the storage exists before purging it in ProfilerTest