Use addon data to check if default_locale was set in from_upload (bug 891376)

Also fix existing test: it was relying on 'gb', but it's not a
valid locale.