EbuildBuild: handle empty PORTAGE_BINPKG_FORMAT

Also, make TaskSequence._start_next_task() call exit hooks if the
queue happens to be empty.

X-Gentoo-Bug: 506186
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=506186