index: put ImageInfo in memory too

Change-Id: I8110df05dd14ec3ede2e49902b172ed9bf069bfb