Bug-fix: Function unsaved_changes() doesn't check for changes when there is an empty checkout.