Update README.md

Check if result is not empty instead of error.