Add a missing null check
The below code set neither 'aaptVersion' nor 'apkOut':
so it was basically always using aapt1.  Fixing the AAPT version then causes
RPBB to crash because apkOut is unset. :/
@@ -189,7 +189,9 @@ public class Aapt2ResourcePackagingAction {
.link(compiled);
profiler.recordEndOf("link");
+ if (options.packagePath != null) {
copy(packagedResources.apk(), options.packagePath);
+ }
if (options.proguardOutput != null) {
copy(packagedResources.proguardConfig(), options.proguardOutput);
}
