core: early pool check in electNewMaster

This patch improves the readability of electNewMaster.

Change-Id: Ic1417c3f0e85b8a0613a2aad7c93e75abe226ad0
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>