Fix syntax error on bad if/else/elif

It looks like the 1.0.5 release has a syntax error in greplin.py