Remove main as a critera of shop attributes

When build from another context than the main shop, the shop object did not had any file attributes because main was used as a critera to select them