Raise an exception if getDataFromDb does not find anything
This fixes the beaviour of the "Next Build" button because the internal logic is: if I get an exception trying to get the next build, there's no next build.
I do not particularly like this logic, but moving from urlopen
to requests
in !18 (merged) changed the behaviour introducing a regression.
Closes #14 (closed)