Fix tube findby ean13 barcode promise

cleaning up the findByEan13 method in the tube resource and fixing a potential bug (the promise might have never been rejected)