session db: fixed failure to rebuild if truncated to zero length.
session db: fixed failure to rebuild if truncated to zero length.

Change-Id: I83dfa0d841a25b8555ea87aed3f629e91fa3242c

vmware/ansible-role-chaperone,vmware/ansible-role-chaperone