[Android] Naming refine for packaging tool

The name can be any string that represents the name of the application
as it is usually displayed to the user. But string start with '@' or '?'
will be replaced by '_' by default.
But the logic before my change is that if the options.manifest is provide, the package name can be null, and the test is assume that too.