(bug 62916) Only add hash if it is not None.

A newly created Claim seems to have claim.hash=None now. This leads site.py
to add "hash" to the query and results in an API Error of previously working code.

Change-Id: I627ed24ed4e71abb560376b1ec2655852134285e