Check version exists before assignment
This should fix #14 (closed) by checking that the version field exist before crunching it for assignment.
This should fix #14 (closed) by checking that the version field exist before crunching it for assignment.