How many add-ons use the main key? File lookups are costly so we'd either want to cache the location of main in the XPI database or just fix it to a single location and remove this complication.