Refactored return type of the scan method to be able to distinguish between "got an image" and "got an image AND a board setup" and "failure".
This fixes the problem that the board won't be updated with an empty setup if we only get an image.