Prevent an NPE if the package is not resolved/found