--create-metadata: make sure apk[name] is not empty
apk['name']
might be set but empty. In that case, we want it substituted by the package name to have a useful default (we only checked that it was set, but not if it has a value)
apk['name']
might be set but empty. In that case, we want it substituted by the package name to have a useful default (we only checked that it was set, but not if it has a value)