Fixed backwards JobQueueFederated::doIsEmpty() method

Change-Id: I6b7dfb76621e9b6407829de7faf86495325512c8
(cherry picked from commit 28252aae19a7d2d86a91e5bb6e96d8967b80bbf6)