Simplify logfile parsing and drop unreachable codepath.

Simplify a weird use of grep, and drop an unreachable codepath.

On lines 251 to 255, you are exiting if there are less than 2 backups that can be found; then on lines 257 to 261 you exit if there are no backups to be found; this is redundant, if there were no backups to be found you'd already have exited previously.