Fix travis build
Raise error when asking to read and getting nothing