This error comes from commit 5f2fb34, specifically from the changes done to browser/branding/branding-common.mozbuild file. Reverting the changes done to that file fixes the issue.