That shouldn't ever happen as gaia.webapps already ignore such scenario:
  https://github.com/cctuan/gaia/blob/983573-new/build/utils-xpc.js#L212
Does it happen?