Skip when the platform isn't selected.

It seems like it would never get to the stage of replacing the images because if `isAll` is false it'll continue, but if it's true then `selected` is empty.