Fix ReadlineBlankFilter when readline returns nil

When readline receives an EOF it returns nil. This was causing a crash when
a user sent an EOF to quit gitsh.