Bug 946672 - Check for Metro using the API instead of relying on the name of the app. r=hskupin