fixed bug; electing closed pull request slot returned branchname instead of slotname