Fix a NULL ptr deref.

While testing authenticode parsing I came across a binary which does
not have a rich signature. Calling pe.rich_signature.hash() caused
a NULL pointer dereference.
imphash returns a string.
Merge pull request #188 from wxsBSD/null_ptr_fix

Fix a NULL ptr deref.