fix handling ResourceNotFound for not found packages in graph