Fix banner NPE when when using the default package

Update ResourceBanner to protect against a null application package.

Fixes gh-2143