fix set_last_checkpoint when no checkpoint

closes #3260
Merge pull request #3263 from minrk/nocp

fix set_last_checkpoint when no checkpoint