fix(valve): don't crash on null hashes
Merge pull request #43 from racker/simonvetter/fixEmptyHashes

fix(valve): don't crash on null