Do not attempt to publish APKs for an uncleared project branch
This makes using the script much easier in CI jobs because it won't cause the job to fail if run on an uncleared branch (e.g. a work branch).
This is basically the same as 6021e7df for APK signing.