Fixed get_hashref() where it failed to check for an undefined return fro...

...m fetch_hashref()