if or undefined; improve tail
Merge branch 'master' of http://github.com/qnectar/pipeline
return correct line # w/ head