Automatically define the name of the application based on the git commit
Fix NullPointerException if exception is in the default package

getPackage() returns null if the class is in the default package so
getPackage().getName() would result in a NullPointerException in
this scenario.

If the package is null use "(default)" instead