Only use the applicationId as the package name if it's specified.

Closes #52.