Gracefully handle an empty hash