Don't call insertCapabilities for legacy icon packs.

Change-Id: Ib10a6888259a4da7a2341dc738dc91d0a1839392
(cherry picked from commit da02291592d45f83882a58eee4512ad227262efe)