Fixes official branding to work in DEBUG=1 builds

The details are in <https://bugzilla.mozilla.org/show_bug.cgi?id=856381>.