cc59be0834
The empty-flavor test compared the literal string 'flavor', so a no-flavor invocation left the APK output path as apk//debug/app--debug.apk and the rename failed. Default to 'local' correctly.