ProjectManager: Avoid misleading null-pointer exceptions during shutdown after handling an unrelated exception.
workflows: Check for exceptions when importing workflows with extra dependencies (context, carving).