imaging: Fix TaskManager error