Fix logging bug which expanded glob patterns.
Fix logging bug which expanded glob patterns.

Also use arithemetic conditonals for argument checks.

Fixes #207

stagrlee/rerun,sgoings/rerun,stagrlee/rerun,sgoings/rerun,rerun/rerun,stagrlee/rerun,rerun/rerun,stagrlee/rerun,sgoings/rerun,rerun/rerun