Optimizing icon paths for packaged apps