Fix task path for cleanup