Fix some issues when no pools are configured at the miner. #17