lib: Fail gracefully and depend on `is_valid_APK()`.