This prevents EmptyStackException in case the package binding is null.